package xiangmu.schoolpaper.mapper;

import org.apache.ibatis.annotations.Mapper;
import xiangmu.schoolpaper.pojo.DTO.StudentDetailScoreDTO;
import xiangmu.schoolpaper.pojo.VO.StudentDetailScoreVO;
import xiangmu.schoolpaper.pojo.VO.StudentOneScoreVO;
import org.apache.ibatis.annotations.Param; // 导入MyBatis的Param注解

import java.util.List;

@Mapper
public interface StudentDataListMapper {
    String download(Integer paperId);

    List<StudentOneScoreVO> getOneScore(Integer studentId);

    // 改为接收两个参数，返回VO列表（含分数、建议、依据）
    List<StudentDetailScoreVO> getDetailScore(@Param("studentId") Integer studentId, @Param("paperId") Integer paperId);
}
